<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>NPanday - Troubleshooting</title>
    <style type="text/css" media="all">
      @import url("../../css/maven-base.css");
      @import url("../../css/maven-theme.css");
      @import url("../../css/site.css");
    </style>
    <link rel="stylesheet" href="../../css/print.css" type="text/css" media="print" />
          </head>
  <body class="composite">
    <div id="banner">
                  <a href="" id="bannerLeft">
    
                                            <img src="../.././images/NPanday.png" alt="" />
    
            </a>
                        <a href="http://www.codeplex.com/" id="bannerRight">
    
                                            <img src="../.././images/logo-home.png" alt="" />
    
            </a>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
            
  
    
            <div class="xleft">
          
                <a href="http://npanday.codeplex.com/" class="externalLink">NPanday Home</a>
                &gt;
      
                <a href="../../">NPanday 1.2</a>
                  </div>
            <div class="xright">      
  

  
    
            
  
    
             Last Published: 22 Jun 2010
              &nbsp;| Version: 1.2
            </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
            
  
    
                   <h5>General Info</h5>
            <ul>
              
    <li class="none">
                    <a href="../../index.html">NPanday Overview</a>
          </li>
              
    <li class="none">
                    <a href="../../release-notes.html">NPanday Release Notes</a>
          </li>
              
    <li class="none">
                    <a href="../../faqs.html">NPanday FAQs</a>
          </li>
              
    <li class="none">
                    <a href="../../faqs.html">NPanday Features</a>
          </li>
              
    <li class="none">
                    <a href="../../npanday.pdf">Documentation PDF</a>
          </li>
          </ul>
              <h5>User's Guide</h5>
            <ul>
              
    <li class="none">
                    <a href="../.././guide/index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="../.././guide/installation/index.html">Installation</a>
          </li>
              
    <li class="none">
                    <a href="../.././guide/vs/index.html">Visual Studio Add-in</a>
          </li>
              
    <li class="none">
                    <a href="../.././guide/maven/index.html">Maven Command Line</a>
          </li>
              
    <li class="none">
                    <a href="../.././guide/devinfra/index.html">Maven Development Infrastructure</a>
          </li>
              
    <li class="none">
                    <a href="../../plugins/index.html">NPanday Plugins</a>
          </li>
          </ul>
              <h5>Contributing</h5>
            <ul>
              
    <li class="none">
                    <a href="../.././developers/index.html">Developer's Guide</a>
          </li>
              
    <li class="none">
                    <a href="../.././issue-tracking.html">Issue Tracking</a>
          </li>
              
    <li class="none">
                    <a href="../.././mail-lists.html">Mailing Lists</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="../../project-info.html">Project Information</a>
                </li>
          </ul>
              <h5>Resources</h5>
            <ul>
              
    <li class="none">
                    <a href="http://maven.apache.org/" class="externalLink">Apache Maven</a>
          </li>
              
    <li class="none">
                    <a href="http://npanday.codeplex.com/" class="externalLink">NPanday on CodePlex</a>
          </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="../../images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
            
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>Troubleshooting</h2>
<p>If you encounter a problem with NPanday, try some of the following to resolve the issue before contacting the user forums.</p>
<div class="section"><h3>Check what version of NPanday you are currently using</h3>
<p>The version can be viewed from the output console once you start NPanday </p>
<img src="../../images/vs/console_version.jpg" /><p>Another way to check for the version would be to go to <b>Visual Studio Help &gt; About</b> menu option</p>
<img src="../../images/vs/vs_about.jpg" /></div>
<div class="section"><h3>Verifying Visual Studio 2005/2008 Service Pack 1 is installed</h3>
<p>To make sure you have the Service Pack 1, go to <b>Visual Studio Help &gt; About</b> menu option. From the About screen, verify that the Service Pack version is enclosed in parenthesis after the Visual Studio Version.</p>
<p>Another way to verify the Service Pack installation is to click <b>Copy Info</b> from the <b>About</b> screen and paste the information in a text editor. Verify that the SP installation information is in the list.</p>
<p>For Visual Studio 2005</p>
<div class="source"><pre>Microsoft Visual Studio 2005 Professional
Edition - ENU Service Pack 1 (KB926601)</pre>
</div>
<p>For Visual Studio 2008</p>
<div class="source"><pre>Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1</pre>
</div>
</div>
<div class="section"><h3>Verifying .NET SDK installation</h3>
<p>The SDK usually installs automatically when you install Visual Studio, but you might have to download it separately and put it into the right place.</p>
<div class="section"><h4>.NET 2.0 SDK (Visual Studio 2005)</h4>
<p>To make sure you have the SDK, navigate to the following directory on your system: either in <tt>C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0</tt> or <tt>C:\Program Files\Microsoft.NET\SDK\v2.0</tt></p>
<p>Make sure the \v2.0 directory shown above contains all the pieces of the SDK (for example, the \Bin, \include, \CompactFramework, and \Lib directories, among others).</p>
<p><b>Note</b>: These are the default directories and it may be installed elsewhere on your system.</p>
<p>If the directory structure/folder shown above does not exist or is empty, download the SDK from the following location: <a class="externalLink" href="http://msdn2.microsoft.com/enus/downloads/default.aspx">http://msdn2.microsoft.com/enus/downloads/default.aspx</a></p>
<p><b>Note</b>: It is not necessary to move the SDK after you download it (for example, to the location where Visual Studio puts it). Just make sure your PATH environment variable points to its location, as described in the PATH environment variable prerequisite information, below.</p>
</div>
<div class="section"><h4>.NET 3.5 SDK (Visual Studio 2008)</h4>
<p>Verify that your system includes the following .NET Install Root directory: <tt>C:\WINDOWS\Microsoft.NET\Framework\v3.5</tt></p>
<p><b>Note</b>: This directory should be in place by default from your Microsoft installation procedures. If it is not, refer to the appropriate Microsoft documentation for help.</p>
</div>
<div class="section"><h4>PATH</h4>
<p>The PATH environment variable must be set such that it can find the following:</p>
<ul><li>The csc executable directory, the default path for which is: <tt>C:\WINDOWS\Microsoft.NET\Framework\v3.5</tt> (or equivalent for .NET 2.0)</li>
<li>The devenv executable directory, the default path is typically: <tt>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE</tt> (or equivalent for Visual Studio 2005)</li>
</ul>
<p>Typically, the the <tt>PATH</tt> environment variable will look similar to this:</p>
<div class="source"><pre>PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\WINDOWS\Microsoft.NET\Framework\v3.5;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9\SDK\v3.5\bin;
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin</pre>
</div>
<p><b>Note</b>: To successfully install the NPanday add-in on machines with only Visual Studio 2008 installed, add this in the PATH: <tt>C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin</tt>.</p>
</div>
</div>
<div class="section"><h3>Clearing the Visual Studio Add-in Cache</h3>
<p>If you want to clear Visual Studio's cache of any previous versions of the tool before you start Visual Studio, run the following command:</p>
<div class="source"><pre>devenv /ResetAddin NPanday.VisualStudio.Addin</pre>
</div>
</div>
<div class="section"><h3>Warnings when opening solutions generated by NPanday</h3>
<p>Upon opening your Project/Solution, you may see a window with the selection <i>Load project normally</i>. This occurs when you generate a Visual Studio solution from a Maven project (as opposed to importing the existing Solution in Visual Studio).</p>
<p>Select that option and continue. This window may appear for each project, so select <i>Load project normally</i> each time, or change the checkbox that indicates not to warn again.</p>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2010
    
          NPanday
          
  

  
    
            
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
